package org.example.feign.goods;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.HashMap;

@FeignClient(value = "goods", path = "/goods/")
public interface GoodsFeign {

    @GetMapping("index")
    HashMap<String, String> index();
}
